#pragma once

 #include "DlgChangeMove.h"
#include "DlgBasePos.h"
#include "DlgChangeRoate.h"
#include "../gdi/Graph.h"

// CDlgChangeGraph dialog

class CDlgChangeGraph : public CDialog
{
	DECLARE_DYNAMIC(CDlgChangeGraph)

	CDlgBasePos m_BasePosition;
	CDlgChangeMove m_dlgChangeMove;
 	CDlgChangeRotate m_dlgChangeRotate;

	CGraph* m_curSelNodeHov;


public:
	CDlgChangeGraph(CWnd* pParent = NULL);   // standard constructor
	virtual ~CDlgChangeGraph();

// Dialog Data
	enum { IDD = IDD_DLG_CHANGEGRAPH };

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support

	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnBnClickedOk();
public:
	afx_msg void OnBnClickedRadioMove();
public:
	virtual BOOL OnInitDialog();
public:
	afx_msg void OnBnClickedRadioRoate();
	afx_msg void OnBnClickedUpdateBasePos();
public:
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	virtual BOOL PreTranslateMessage(MSG* pMsg);
public:
	int m_iChangeType;
public:
	afx_msg void OnBnClickedRadioRotate();
public:
	afx_msg void OnBnClickedRadioRate();
public:
	afx_msg void OnBnClickedRadioMirror();
};
